#pragma once
#include "CommonDefs.h"
class Instruction
{
public:

	Instruction(char type, float value);
    Instruction(char type, float value, int duration);
    Instruction(char type, float value, int duration, float realValue);
	Instruction( const Instruction &temp );
	~Instruction(void);
	const char getType() { return m_type; }
	const float getValue() { return m_value; }
	const int getDuration() { return m_duration; }
    const float getRealValue() { return m_realValue; }

private:
	void setType( const char type ) { m_type = type; }
	void setValue( const float value ) { m_value = value; }
	void setDuration( const int duration ) { m_duration = duration; }
    void setRealValue(const float realValue) { m_realValue = realValue; }

	char m_type;
	float m_value;
	int m_duration;
    float m_realValue;
};

